package com.iocup.keybastion.core.matching;


import com.iocup.keybastion.context.WebContextHolder;

/**
 * 对匹配器进行检查
 *
 * @author xyjxust
 * @create 2022/3/1
 **/
public interface MatchingChecker {

    /**
     * 匹配
     *
     * @param webContextHolder
     * @return
     */
    boolean matches(WebContextHolder webContextHolder);

    /**
     * 添加匹配器
     *
     * @param matchers
     * @return
     */
    MatchingChecker addMatcher(Matcher... matchers);
}
